package leave.model.impl.mysql;

import java.io.Serializable;
import java.util.Date;

import leave.model.Employee;
import leave.model.Leave;
import leave.status.LeaveStatus;


public class LeaveImpl implements Serializable, Leave{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -9089881981835626214L;
	
	private int LeaveID;
	private String leaveType;
	private Date startDate;
	private Date endDate;
	private String employeeComment;
	private String workDissemination;
	private String contactDetails;
	private LeaveStatus status;
	private String managerComments;
	private Employee approvedBy;
	private Employee appliedBy;
	
	public Employee getAppliedBy() {
		return appliedBy;
	}


	public void setAppliedBy(Employee appliedBy) {
		this.appliedBy = appliedBy;
	}


	@Override
	public String getLeaveType() {
		return leaveType;
	}


	@Override
	public void setLeaveType(String leaveType) {
		this.leaveType = leaveType;
	}


	@Override
	public Date getStartDate() {
		return startDate;
	}


	@Override
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}


	@Override
	public Date getEndDate() {
		return endDate;
	}


	@Override
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}


	@Override
	public String getEmployeeComment() {
		return employeeComment;
	}


	@Override
	public void setEmployeeComment(String employeeComment) {
		this.employeeComment = employeeComment;
	}


	@Override
	public String getWorkDissemination() {
		return workDissemination;
	}


	@Override
	public void setWorkDissemination(String workDissemination) {
		this.workDissemination = workDissemination;
	}


	@Override
	public String getContactDetails() {
		return contactDetails;
	}


	@Override
	public void setContactDetails(String contactDetails) {
		this.contactDetails = contactDetails;
	}


	@Override
	public LeaveStatus getStatus() {
		return status;
	}


	@Override
	public void setStatus(LeaveStatus status) {
		this.status = status;
	}


	@Override
	public String getManagerComments() {
		return managerComments;
	}


	@Override
	public void setManagerComments(String managerComments) {
		this.managerComments = managerComments;
	}


	@Override
	public Employee getApprovedBy() {
		return approvedBy;
	}


	@Override
	public void setApprovedBy(Employee approvedBy) {
		this.approvedBy = approvedBy;
	}

	public LeaveImpl() {
		super();
	}
	
	@Override
	public int getLeaveID() {
		// TODO Auto-generated method stub
		return this.LeaveID;
	}
	
	
	public void setLeaveID(int value){
		this.LeaveID = value;
	}
		
}
